package com.xy.biz.fd.domain.enums;

import com.xy.lang.enums.CodeEnum;

/**
 * @author Greekn Zhang
 * @date 2021/12/6 15:13
 * @description
 */
public enum RepositoryBelongTypeEnum implements CodeEnum {

    BELONG_TYPE_PRIVATE(0, "个人知识库"),
    BELONG_TYPE_TEAM(1, "团队知识库"),
    BELONG_TYPE_RUBBISH(2, "回收站"),
    BELONG_TYPE_RELEASE(3, "发行文件"),
    BELONG_TYPE_IN_PROCESS(6, "审核中质量管理体系文件、记录知识库"),
    BELONG_TYPE_RELEASE1(7, "现行版质量管理体系文件、记录知识库"),
    BELONG_TYPE_OBSOLETE(8, "作废版质量管理体系文件、记录知识库");

    private int code;
    private String desc;

    RepositoryBelongTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
